package com.huarui.receive.dao;

import java.util.List;
import java.util.Map;

import org.ewaf.framework.dao.IBaseDao;
import com.huarui.receive.model.ReceiveItem;

public interface IReceiveItemDao extends IBaseDao {
	ReceiveItem getReceiveItemByOrdersItemId(Integer ordersItemId);
	
	List<Map<String,String>> getReceiveItemByReceiveId(Integer receiveId);	
	
	public void batchUpdateItems(List<ReceiveItem> receiveItems);
	
	public Integer batchDeleteItems(Map<String,Object> map);
	

	@SuppressWarnings("unchecked")
	List<Map> getReceiveItemByConditons(Map map);

	@SuppressWarnings("unchecked")
	Integer getReceiveItemCountByConditions(Map map);

	void batchInsertItems(List<ReceiveItem> receiveItems);
}
